package com.tvunetworks.center.device.service;

import com.tvunetworks.center.device.model.api.DeviceGeoRemoteInfo;
import com.tvunetworks.center.device.model.api.DeviceGeoResult;
import com.tvunetworks.center.device.model.api.DeviceGeoStructure;
import com.tvunetworks.center.device.model.api.ResponseStructure;
import net.sf.json.JSONObject;

import java.util.List;
/**
 * @program: tvucc-instance
 * @author lebronchen
 * @create: 2019-02-28 16:53
 **/
public interface DeviceGeoApiService {
    /**
     *
     * @param xml xml
     * @param ip ip
     * @return ResponseStructure
     * @throws Exception 编译异常
     */
     ResponseStructure<DeviceGeoStructure> getDeviceGeoInfoListXml(String  xml, String ip) throws Exception;

    /**
     *
     * @param jsonObject jsonObject
     * @param ip ip
     * @return DeviceGeoResult
     * @throws Exception 编译异常
     */
     DeviceGeoResult<List<DeviceGeoRemoteInfo>> getDeviceGeoInfoListJson(JSONObject jsonObject, String ip) throws Exception;


}
